package com.wd.service;

import com.wd.entity.User;

import java.util.List;

public interface UserService {

    public List<User> selAllUser() throws  Exception;

    public int selUserByAccount(String account) throws  Exception;

    public User Login(String account, String password) throws Exception;

    public int register(User user)throws Exception;

    public int delUser(int id)throws Exception;

    public User findPassword(User user) throws Exception;

    public String findProblem(String account) throws Exception;

    public int updUser(User user) throws  Exception;

    public int updPassword(String account, String password, String newPassword) throws  Exception;

    public User selUserById(int id) throws Exception;

    public int countUser() throws Exception;
}
